package org.jwos.platform.desktop.web;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.springframework.context.ApplicationContext;
import org.springframework.web.context.ContextLoaderListener;
import org.springframework.web.context.support.WebApplicationContextUtils;

public class ContextListener extends ContextLoaderListener implements
		ServletContextListener {
	
	public void contextInitialized(ServletContextEvent event) {
		super.contextInitialized(event);		
		ApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(event.getServletContext());
	}

	public void contextDestroyed(ServletContextEvent event) {
		super.contextDestroyed(event);
	}
}
